home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19990422-19990725 / 000099_news@watsun.cc.columbia.edu _Wed May 26 13:52:52 1999.msg < prev    next >
Internet Message Format  |  2020-01-01  |  3KB

  1. Return-Path: <news@watsun.cc.columbia.edu>
  2. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30])
  3.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id NAA18655
  4.     for <kermit.misc@watsun.cc.columbia.edu>; Wed, 26 May 1999 13:52:52 -0400 (EDT)
  5. Received: (from news@localhost)
  6.     by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id NAA18554
  7.     for kermit.misc@watsun.cc.columbia.edu; Wed, 26 May 1999 13:50:05 -0400 (EDT)
  8. X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to <news> using -f
  9. From: dold@99.usenet.us.com
  10. Subject: Re: kermit process hangs around after terminal disconnect
  11. Date: 26 May 1999 17:49:07 GMT
  12. Organization: a2i network
  13. Message-ID: <7ihc6j$7s2$1@samba.rahul.net>
  14. To: kermit.misc@watsun.cc.columbia.edu
  15.  
  16. Jeffrey Altman (jaltman@watsun.cc.columbia.edu) wrote:
  17.  
  18. : If you want the host to detect that the connection is no longer
  19. : valid, the telnetd will have to be modified to attempt to send some
  20. : message on a periodic basis to test the connection.  This could be
  21. : a telnet go ahead or a telnet data mark message.  Anything that the 
  22. : client will process and not respond with real data.
  23.  
  24. One of my customers offered Convergent computers to college libraries
  25. around the country, and they could check other campus' inventories.
  26. PCs would 'telnet' in and check stuff, and then quit improperly.  I think
  27. it was early Macs that were at fault.  Eventually there wouldn't be any
  28. more telnet processes/ports available for fresh logins.  I recall that the
  29. limit by default was either 16 or 32.
  30.  
  31. Telnetd was modified for this customer, but the mods were never moved into
  32. SVR2 releases.  Later, this same customer changed what telnet did when it
  33. did get a proper disconnect.  I don't recall the detail, but it was a
  34. fairly polite kill to child processes, that he wanted changed to a
  35. buffer-dumping merciless kill.
  36.  
  37.  
  38. Like lots of other things in unix, the default is very generic.  If your
  39. situation has tighter requirements, it is possible to add more layers,
  40. without affecting the underlying stateless connection.
  41.  
  42. I wrote a very simple 'killidle' that is invoked at login time, and
  43. monitors the "tty" associated with the login.  If there's no activity for
  44. five minutes, it does a programmatic shutdown of the process that it knows
  45. was started... In my case, I know what the process is, and that it is okay
  46. to terminate it.  That can't be the case generically.
  47.  
  48.  
  49. And, if you are using Procomm to AIX, then kermit out to a modem
  50. server, you should probably be doing the connection directly to the
  51. modem server in the first place.
  52.  
  53. -- 
  54. ---
  55. Clarence A Dold - dold@network.rahul.net
  56.                 - Pope Valley & Napa CA.